<section id="processMange" class="mlr-24">
    <div class="clearfix border-b ptb-10">
      <span class="pull-left line-height-34">系统配置-资源配置-装修水平</span>
      <div class="pull-right">
        <button class="btn s-btn-default" @click="newAdd">新增分类</button>
      </div>
    </div>
    <div class="mt-15 box-i-shadow-1 br-4">
      <div class="dy-flex text-center" style="margin: 0px 2px; line-height: 40px;">
        <div class="dy-fx-1">序</div>
        <div class="dy-fx-7">名称</div>
        <div class="dy-fx-2">状态</div>
        <div class="dy-fx-3">操作</div>
      </div>
      <div class="dy-flex text-center border-t" style="margin: 0px 2px; line-height: 40px;" v-for="(item, index) in data">
        <div class="dy-fx-1">{{index+1}}</div>
        <div class="dy-fx-7">
          <input type="text" class="cm-inp mr-5 text-center" v-model="item.dictName" v-if="item.flag" />
          <span v-if="!item.flag">{{item.dictName}}</span>
          <span class="icon-Gm-edit" v-if="!item.flag" @click="newPutFlag(index)"></span>
          <span class="icon-Gm-confirm" v-if="item.flag" @click="newPut(index)"></span>
        </div>
        <div class="dy-fx-2">{{item.status == 'Y' ? '启用' : '停用'}}</div>
        <div class="dy-fx-3">
          <a class="mr-10" @click="enabledict(index)" v-if="item.status == 'N'">启用</a>
          <a class="mr-10" @click="disabledict(index)" v-if="item.status == 'Y'">停用</a>
          <a @click="deldict(index)">删除</a>
        </div>
      </div>
      <div class="dy-flex text-center border-t" style="margin: 0px 2px; line-height: 40px;" v-for="(item, index) in createData">
        <div class="dy-fx-1">{{data.length+index+1}}</div>
        <div class="dy-fx-7">
          <input type="text" class="cm-inp mr-5 text-center" v-model="item.value" />
          <span class="icon-Gm-confirm" @click="newPost(index)"></span>
        </div>
        <div class="dy-fx-2">启用</div>
        <div class="dy-fx-3">
          <span class="mr-10">停用</span>
          <a @click="removeDom(index)">删除</a>
        </div>
      </div>
    </div>
  </section>
  
  <script src="modules/system_config/scripts/nmslToDebiLevel.js" charset="utf-8"></script>
  
  <style media="screen">
    .cm-inp {
      height: 30px;
      border: 1px solid #ddd;
      border-radius: 4px;
    }
  </style>
  